import 'package:gluz/generated/json/base/json_field.dart';
import 'package:gluz/generated/json/dictionary_entity.g.dart';
import 'dart:convert';
export 'package:gluz/generated/json/dictionary_entity.g.dart';

/// 通用字典查询
@JsonSerializable()
class DictionaryEntity {
	String dictCode = '';
	int dictSort = 0;
	String dictLabel = '';
	String dictValue = '';
	String dictType = '';
	String cssClass = '';
	String listClass = '';
	String isDefault = '';
	dynamic status;
	String remark = '';
	String createTime = '';
	bool isSelected = false;

	DictionaryEntity();

	factory DictionaryEntity.fromJson(Map<String, dynamic> json) => $DictionaryEntityFromJson(json);

	Map<String, dynamic> toJson() => $DictionaryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}